﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SteveTPham.QueryAnything.DataAccess
{
	public enum DatabaseProvider
	{
		SqlClient,
		Oracle,
		OleDb,
		ODBC,
	}

	public static class DatabaseProviderTools
	{
		public static string Convert(DatabaseProvider p)
		{
			switch (p)
			{
				case DatabaseProvider.SqlClient:
					return "System.Data.SqlClient";
				default:
					throw new ArgumentOutOfRangeException("p=" + p);

			}
		}
	}
}
